/**
 * Created by houlei on 2024/10/17.
 * */
#ifndef MYDEVICEWRITER_UNTITLED
#define MYDEVICEWRITER_UNTITLED

#include "DeviceWriter.h"

extern "C" BaseObject *createMyDeviceWriter();
extern "C" void destroyMyDeviceWriter(BaseObject *p);

class MyDeviceWriter : public DeviceWriter{
public:

~MyDeviceWriter();

int64_t onWrite(char *buffer, int64_t len) override;
};

#endif //MYDEVICEWRITER_UNTITLED
